<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>父向子通讯</title>
</head>
<body>
<div id="app">

      <heima63 name="黑马" age="80"></heima63>

</div>



<script src="../node_modules/vue/dist/vue.js"></script>
<script>

    let heima63 = {
        props:["name","age"],
        template:`
        <div>
            我是黑马63组件,{{name}},{{age}}
        </div>
        `,

    }


    let app = new Vue({
        el: "#app",
        components:{
            heima63
        }

    });

</script>

</body>
</html>